'''
Created on Aug 2, 2010

@author: behrooz
'''

from django.conf.urls.defaults import patterns
from amscms.feeds.feeds import LatestAdsFeed, LatestAdsByTagFeed

urlpatterns = patterns('amscms.ams.views',
    #(r'^view/(?P<object_id>\d+)$', 'ad_view'),
    (r'^ads/latest/$', LatestAdsFeed()),
    (r'^ads/latest/tag/(?P<tag>[\w]+)/$', LatestAdsByTagFeed()),
)

